package com.yy;

import org.apache.commons.logging.Log;
import org.apache.commons.logging.LogFactory;

/**
 * 单例log对象
 * @author tt
 *
 */
public class Mylog {
	private Mylog() {
	};

	private static class Mylogfactory {
		private static Log logger = LogFactory.getLog(Mylog.class);
	}

	public static Log getLog() {
		return Mylogfactory.logger;
	}

}
